import request from '@/util/request'
var path = "/didi/orderform"
export default {

    lookAll(){
        return request({
            url:`${path}/all`,
            method:"get",
        })
    },

    lookDetails(userId){
        return request({
            url:`${path}/info/${userId}`,
            method:"get",
        })
    },

    addOrder(data){
        return request({
            url:`${path}/save`,
            method:"post",
            data
        })
    },

    updataOrder(data){
        return request({
            url:`${path}/update`,
            method:"post",
            data
        })
    },

    lookAllById(data){
        return request({
            url:`${path}/all/${data}`,
            method:"get"
        })
    },

    info(ofId){
        return request({
            url: `${path}/info/${ofId}`,
            method: "get",
        })
    },


}